//
//  SYHomePageModel.swift
//  SheYangBigData
//
//  Created by 叁拾叁 on 2021/3/23.
//  Copyright © 2021 叁拾叁. All rights reserved.
//

import UIKit
import HandyJSON


struct SYHomePageModel: HandyJSON, Equatable {
    
    var name: String?
    var type: Int = 0
    
    var bean: Bean?
    
    var info: [SYHomePageInfoModel]?
    
    var machineList: [SYMachineList]?
}


struct Bean: HandyJSON, Equatable {
    var message: String?
}

struct SYHomePageInfoModel: HandyJSON, Equatable {
    var imgUrl: String?
    var category: String?
    var browse: String?
    var id: String?
    var classify: String?
    var title: String?
    var createDate: String?
    var groupName: String?
    var groupContent: String?
    var adoptedPercent: String?
    var adoptPrice: Int?
    var name: String?
    var remarks: String?
    var enterpriseName: String?
    var logoUrl: String?
    var question: String?
    var reply: String?
    var rates: String?
    var address: String?
    var sign: String?
    var bigImg: UIImage?
}


struct SYMachineList: HandyJSON, Equatable {
    var name: String?
    
    var info: [SYMachineInfo]?
}


struct SYMachineInfo: HandyJSON, Equatable {
    var star: Int = 0
    var publishDate: String?
    var id: String?
    var taskPrice: Int?
    var orderNum: Int?
    var trueName: String?
    var machineName: String?
    var machineUrl: String?
    var headImg: String?
}
